import React from 'react';
import './index.css';
const IconButton = ({ index, text, path, otherClass}) => {
    return (
        <div className={`icon-btn ${otherClass}`} id={`${path}-${index}`}>
            <img src="http://localhost:9000/imgs/icon.webp" />
            <span>{text}</span>
        </div>
    )
}

export default IconButton;